/*
 * @Author: 高瑞寒 15932717091@163.com
 * @Date: 2022-05-10 23:57:05
 * @LastEditTime: 2022-05-16 15:15:34
 * @LastEditors: 高瑞寒 15932717091@163.com
 * @Description: 
 */
import request from '../utils/request'

// 注册
export const registerUser = (data) => request.post('/register', data)
// 登录
export const loginUser = (data) => request.post('/login', data)
// 获取登录密码
export const getUserSys = () => request.get('/info')
// 修改登录密码
export const updateUserSys = (data) => request.put('/info', data)